export default function () {
  let courseTypeFn = (type) => {
    let typeNamre = {
        1: '初级', 
        2: '中级' , 
        3: '高级' 
  }
    
    return typeNamre[type] || '未知等级'; 
  }

  return {
    courseTypeFn
  }
}